import os,sys
from time import sleep
from string import split
from math import floor
from ctypes import *

class Gage:
    
    def __init__(self):
        cdef extern from "GageAcquisitionC.h":
            int GageInitializeC()
            int GageAcquireC()
            int GageCloseRessourceC()
    
    def GageInitialize(self):
        return int(GageInitializeC())
   
    def GageAcquire(self):
        return int(GageAcquireC())
    
    def GageCloseRessource(self):
        return int(GageCloseRessourceC())
        
        